<ul class="back-to-toptwo" id="back_top">
  <li><a href="javascript:void(0)" rel="nofollow">幸福<br />优选</a></li>
  <li><a href="javascript:void(0)" rel="nofollow">家居<br />用品</a></li>
  <li><a href="javascript:void(0)" rel="nofollow">家居<br />饰品</a></li>
  <li><a href="javascript:void(0)" rel="nofollow">办公<br />饰品</a></li>
  <li><a href="javascript:void(0)" rel="nofollow">店铺<br />饰品</a></li>
  <li><a href="javascript:void(0)" rel="nofollow">商务<br />饰品</a></li>
  <!-- <li><a href="javascript:void(0)" class="top-touch">&#xe6d7;</a></li> -->
</ul>
{include file=footer_right_sidebar.html}
<div class="footer">
  <div class="footer-t-wrap bgcf5">
  <div class="footer-t f-cb bgcf5">
    <!-- {foreach from=$shop_help key=key item=help name=help} -->
    <div class="t1 f-fl">
      <dl>
        <dt class="footer-t-new{$key} f-cb">
          <h3>{$help.cate_name}</h3>
        </dt>
        <!-- {foreach from=$help.article item=article} -->
        <dd>
          <a {if $article.link}target="_blank"{/if} href="{url app=article&act=view&article_id=$article.article_id}" target="_blank" rel="nofollow">{$article.title|escape}</a>
        </dd>
        <!--{/foreach}--> </dl>
    </div>
    <dl class="seg">
      <dt></dt>
    </dl>
    <!--{/foreach}-->
    <div class="t2 f-fl">
      <dl>
        <dt>
          <h3>客服热线</h3>
        </dt>
        <dd>
          <h2>4008-333-685</h2>
        </dd>
        <dd class="time f-cb">
          <p class="f-fl">服务时间：</p>
          <p class="f-fl">
            工作日：9:00-18:00
            <br />
            节假日：9:00-18:00
          </p>
        </dd>
      </dl>
    </div>
  </div>
  </div>
  <div class="footer-b-wrap bgc">
  <div class="footer-b f-cb bgc">
    <div class="footer-bl">
      <dl class="f-cb">
        <dt>热门分类：</dt>
        <dd>
          <ul class="f-cb">
            <!--{foreach from=$nav_gcategory.gcategory name=gcategory key=key item=gcategory}-->
            <!--{foreach from=$gcategory.one item=fgcategory}-->
            <li>
              <a href="{url app=search&cate_id=$fgcategory.cate_id}" target="_blank" title="{$fgcategory.cate_name|escape}">{$fgcategory.cate_name|escape}</a>
            </li>
            <!--{/foreach}-->
            <!--{/foreach}--> </ul>
          <div>
            <a href="javascript:void(0)" onclick="wl.fold(this,'f-cb')" class="more">更多 >></a>
          </div>
        </dd>
      </dl>
      <dl class="f-cb">
        <dt>友情链接：</dt>
        <dd>
          <ul class="f-cb">
            <!--{foreach from=$links_list item=partner}-->
            <li>
              <a href="{$partner.link}" target="_blank" title="{$partner.title|escape}">{$partner.title|escape}</a>
            </li>
            <!--{/foreach}--> </ul>
          <div>
            <a href="javascript:void(0)" onclick="wl.fold(this,'f-cb')" class="more">更多 >></a>
          </div>
        </dd>
      </dl>
    </div>
    <div class="footer-br">
      <div class="ftb1">
        <!-- {foreach from=$navs.footer key=key item=footer name=footer} -->
        <a  {if $footer.open_new eq 1}target="_blank"{/if} href="{if $footer.title eq '网站地图'}/sitemap.html{else}{$footer.link}{/if}" class="footer-a" {if $footer.title neq '网站地图'}rel="nofollow"{/if}>{$footer.title|escape}</a>
        <!-- {if !$smarty.foreach.footer.last} -->
        |
        <!-- {/if} -->
        <!--{/foreach}-->
        </div>
      <p>
        Copyright © 2009-2015 性福之家 wljiashi.com 版权所有
        <br />
        <a href="http://www.miitbeian.gov.cn/" target="_blank" class="icplink" rel="nofollow">粤ICP备14033551号-2</a>
      </p>
    </div>
  </div>
  </div>
</div>
<script type="text/javascript" src="{lib file=index.js}?v={$ver_info}"></script>
<script type="text/javascript">
var $optimization = {$wl_recommended_goods};
function get_user_data(){    
    var url = USER_SITE_URL + '/index.php?app=member&act=Ajax_islogin&jsoncallback=?';
    $.getJSON(url, function(data){
        if (data.done){
            $(".leftside-l").html(' 您好，<a href="{userurl app=member}" rel="nofollow">'+data.retval.user_name+'</a>，欢迎来到万菱！ <a target="_blank" href="{userurl app=my_question}" rel="nofollow">消息</a> [ <a href="{userurl app=member&amp;act=logout}" rel="nofollow">退出</a> ]'); 
        }else{
            $(".leftside-r").html(' 您好，欢迎来到万菱！ 请<a href="{userurl app=member&act=login&ret_url=$ret_url}" rel="nofollow"> 登录</a> | <a href="{userurl app=member&act=register&ret_url=$ret_url}" target="_blank" rel="nofollow">注册'); 
        }
    });     
}
$(function() {
    get_user_data();
    if ($('.sidebar').css('position') === 'fixed') {
    $('.sidebar').fadeIn('slow', function() {
      $('.J_btn').hover(function() {
        $(this).children('.J_wrap').stop().animate({
          'right': '38',
          'opacity': '1'
        }, 'fast').show();
      }, function() {
        $(this).children('.J_wrap').stop().animate({
          'right': '50',
          'opacity': '0'
        }, 'fast', function() {
          $(this).hide();
        });
      });
      $('#J_cart_btn').bind('click', function() {
        $.ajax({
          type: "get",
          url: USER_SITE_URL + "/index.php?app=member&act=Ajax_islogin&jsoncallback=?",
          dataType: "jsonp",
          success: function(data) {
            if (data.done) {
              $.ajax({
                type: "get",
                url: CART_SITE_URL + "/index.php?app=cart&act=Ajax_update_cart&right_side=1&jsoncallback=?",
                dataType: "jsonp",
                success: function(data) {
                  if (data.done) {
                    var i, len, html_a = '',
                      html_b = '';
                    var cartlist = data.retval.cart;
                    for (i = 0, len = cartlist.length; i < len; i++) {
                      html_a += '<ul class="f-cb"><li class="floor-li-a"><a href="index.php?app=goods&id=' + cartlist[i].goods_id + '" title="' + cartlist[i].goods_name + '" target="_blank" rel="nofollow"><img src="' + cartlist[i].goods_image + '" alt="" width="80" height="80" /></a></li><li class="floor-li-b"><a href="index.php?app=goods&id=' + cartlist[i].goods_id + '" title="' + cartlist[i].goods_name + '" target="_blank" rel="nofollow" class="linkbtn">' + cartlist[i].goods_name + '</a><p class="descri">' + cartlist[i].specification + '</p><div class="price"><i>￥' + cartlist[i].price + '</i>X ' + cartlist[i].quantity + '</div></li></ul>';
                    }
                    html_b = '<li class="sw-f-l">共<i> ' + data.retval.total_quantity + ' </i>件商品</li><li class="sw-f-r"><i>￥' + data.retval.total_price + '</i></li>';
                    $('#J_sw_fw').html(html_a);
                    $('#J_sw_ptf').html(html_b);
                  } else {
                    $('#J_sw_empty').show();
                    $('#J_sw_platform').hide();
                  }
                  var $sw_fw_height = $(window).height() - 144; 
                  var $fw_self_height = $('#J_sw_fw').height(); 
                  var $sw_dd_height = $(window).height() - 39; 
                  if ($fw_self_height > $sw_fw_height) {
                    $('#J_sw_fw').height($sw_fw_height);
                    $('#sw-platform').height(80);
                  } else {
                    $('#J_sw_dd').height($sw_dd_height);
                  }
                  $('#J_sidebar_wrap').stop().animate({
                    'right': '36',
                    'opacity': '1'
                  }, 'fast').show();
                }
              });
            } else {
              window.location.href=USER_SITE_URL +'/index.php?app=member&act=login&ret_url=';
            }
          }
        });
      });
      $('#J_sw_close').bind('click', function() {
        $('#J_sidebar_wrap').stop().animate({
          'right': '-290',
          'opacity': '0'
        }, 'fast', function() {
          $(this).hide();
        });
      });
      $('#J_sidebar_nav .nav-nor').hover(function() {
        $(this).children('span').stop(false, false).animate({
          'left': '-100',
          'opacity': '1'
        }, 400).show();
      }, function() {
        $(this).children('span').stop(false, false).animate({
          'left': '-130',
          'opacity': '0'
        }, 'fast', function() {
          $(this).hide();
        });
      }).bind('click', function() {
        var self_a = $(this).children('.nor-a');
        var uri_a = self_a.attr('uri');
        if (self_a.attr('href') == undefined) {
          $.ajax({
            type: "get",
            url: USER_SITE_URL + "/index.php?app=member&act=Ajax_islogin&jsoncallback=?",
            dataType: "jsonp",
            success: function(data) {
              if (data.done) {
                window.location.href = uri_a;
              } else {
                window.location.href=USER_SITE_URL +'/index.php?app=member&act=login&ret_url=';
              }
            }
          });
        }
      });
      $('#J_back_top').bind('click', function() {
        $('html,body').stop().animate({
          scrollTop: '0'
        }, 500);
      });
    });
  }
});
</script>
{include file=footer_share_a.html}
<!--[if IE 6]>
<script type="text/javascript" src="{res file=js/belatedPNG.js}"></script>
<script>$(function(){DD_belatedPNG.fix('.fixpng');});</script>
<![endif]-->
</body>
</html>